service.playSoundTick()

require 'import'
task(500, function()
time= os.date('%R ')
this.speak(' الساعة الآن ' .. time)
end)
task(3800, function()
-- نطق مستوى البطارية .

require 'import'
import 'android.os.BatteryManager'
import 'java.lang.Object'
d= BatteryManager()
 this.context.getSystemService(BATTERY_SERVICE);
batLevel = d.getIntProperty(d.BATTERY_PROPERTY_CAPACITY)

this.speak(tostring(' مستوى البطارية ' .. batLevel .. '%'))
end)

return true